package com.xy.gateway.service.impl;


import java.util.List;
import java.util.Map;
import java.util.Date;
import com.xy.core.util.BeanUtil;
import com.xy.common.page.Pagination;
import com.xy.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.xy.gateway.dao.RessignparaDao;
import com.xy.gateway.model.Ressignpara;
import com.xy.gateway.service.RessignparaService;

@Service
@Transactional
public class RessignparaServiceImpl extends BaseServiceImpl<Ressignpara> implements
		RessignparaService {
	private RessignparaDao ressignparaDao;

	public RessignparaServiceImpl(RessignparaDao paramAppRoleDao) {
		super(paramAppRoleDao);
		this.ressignparaDao = paramAppRoleDao;
	}

	@Override
	public boolean checkExist(String paraName, String paraValue) {
		return ressignparaDao.checkExist("Ressignpara", paraName, paraValue);
	}

	@Override
	public List<Ressignpara> getRessignpara(Map<String, Object> map) {
		return ressignparaDao.getRessignpara(map);
	}
	@Override
	public Pagination getRessignparaByPage(Map<String, Object> map, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return ressignparaDao.getRessignparaByPage(map, pageNo, pageSize);
	}
	 
   @Override
	public Ressignpara save(Ressignpara ressignpara1) {return super.save(ressignpara1);}
}